package com.waitingresult.common.base.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.waitingresult.common.base.domain.BaseEntity;
import com.waitingresult.common.base.domain.qo.BaseQo;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : BaseService
 * @Description :
 * @date : 2021/9/10 11:36
 */
public interface BaseService<T extends BaseEntity, Q extends BaseQo> extends IService<T> {
    /**
     * 条件构造器
     *
     * @param qo
     * @return
     */
    LambdaQueryWrapper<T> getLamdaQueryWrapper(Q qo);
}
